#include <iostream>
#include <queue>
#include <vector>
using namespace std;

int main(){ 
    vector<int> vec = {5, 5, 7, 9, 5, 1, 3, 4, 1, 5, 7, 9};
    priority_queue<int> pque(vec.begin(), vec.end());

    while(!pque.empty()){
        cout << "The first priority is : " << pque.top() << endl;
        pque.pop();
    }

    return 0;
}